package cn.iune.platform.dictionary;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface ITradeInfoDao {
	
	public void insert(TradeInfo obj);
	
	public void delete(String fID);
	
	public TradeInfo update(TradeInfo obj);

	public TradeInfo getByID(String fID);

	public List<TradeInfo> getAll();
	
	public List<TradeInfo> getRoots(String fParent);
	
	public List<TradeInfo> getChilds(String fParent);
	

	List<TradeInfo> getChildren(String fParent);

	JSONObject query(JSONObject data) throws SQLException;

	public JSONObject create(JSONObject param);


}
